//
//  YSAccountCenterBusinessFooterView.m
//  Yueshi
//
//  Created by Northwan on 15/8/3.
//  Copyright (c) 2015年 悦食中国. All rights reserved.
//

#import "YSAccountCenterBusinessFooterView.h"

@implementation YSAccountCenterBusinessFooterView

+(instancetype)footerView{
    return [[[NSBundle mainBundle]loadNibNamed:@"YSAccountCenterBusinessFooterView" owner:nil options:nil]lastObject];
}

-(void)setSupplier:(YSSupplier *)supplier{
    _supplier = supplier;
    NSString *priceStr = [NSString stringWithFormat:@"¥%.1f",supplier.noFreightDprice];
    [self.countPriceLabel setText:priceStr];
    [self.backTF setText:supplier.userRemark];
}

@end
